package com.project.bean;

import java.time.LocalDate;

public class UserBean {
    private Integer userId;
    private String username;
    private String password="666";
    private String grade;
    private LocalDate birthday;

    public UserBean() {
    }

    public UserBean(String username, String grade, LocalDate birthday) {
        this.username = username;
        this.grade = grade;
        this.birthday = birthday;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public LocalDate getBirthday() {
        return birthday;
    }

    public void setBirthday(LocalDate birthday) {
        this.birthday = birthday;
    }

    @Override
    public String toString() {
        return "UserBean{" +
                "userId=" + userId +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", grade='" + grade + '\'' +
                ", birthday=" + birthday +
                "}\n";
    }
}
